#ifndef BOOKINFOB_H
#define BOOKINFOB_H

#include <QWidget>

#include <datastruct.h>
#include <QMessageBox>
namespace Ui {
class BookInfoB;
}

class BookInfoB : public QWidget
{
    Q_OBJECT

public:
    explicit BookInfoB(Book book,int row,QWidget *parent = 0);
    ~BookInfoB();

private slots:


    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::BookInfoB *ui;
    int index;
    Book bookinfo;
signals:
    void signals_BookInfo(const int &index);
};

#endif // BOOKINFOB_H
